body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  overflow: hidden;
}

.sidepanel-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: white;
  overflow: hidden;
}

.sidepanel-header {
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.sidepanel-title {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.sidepanel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 16px;
  overflow: hidden;
  height: calc(100vh - 53px);
}

.input-section {
  flex-shrink: 0;
}

.chat-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  resize: none;
  height: 120px;
  font-size: 14px;
  color: #333;
  transition: all 0.2s;
  box-sizing: border-box;
}

.chat-input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.options-section {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding: 8px 0;
}

.option-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  transition: all 0.2s;
  background: white;
  white-space: nowrap;
}

.option-item:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.visit-kimi {
  color: #2563EB;
  border-color: #2563EB;
}

.visit-kimi:hover {
  background: rgba(37, 99, 235, 0.05);
}

.bottom-section {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.bottom-right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shortcut-key {
  color: #6B7280;
  font-size: 12px;
  padding: 4px 8px;
  background: #F3F4F6;
  border-radius: 4px;
  white-space: nowrap;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
} 